<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>《C语言程序设计》在线考试系统- 角色管理 </title>
<meta name="Copyright" content="Douco Design." />
<link href="{$smarty.const.Admin_URL}css/public.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{$smarty.const.Admin_URL}js/jquery.min.js"></script>
<script type="text/javascript" src="{$smarty.const.Admin_URL}js/global.js"></script>
</head>
{include file="../Index/top.html"}
 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">题库首页<b>></b><strong>角色管理</strong> </div>  
 <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3>角色管理</h3>
        <table width="40%" border="0" cellpadding="8" cellspacing="0" class="tableBasic" >
     <tr>
      <th width="30" align="center">编号</th>
      <th align="center">角色名称</th>
      <th align="center">操作</th>
     </tr>
          {foreach $info as $i}
          <tr>
      <td align="center">{$i@iteration}</td>
      <td align="center">{$i.role_name}</td>
      <td align="center"><a href="{$smarty.const.__MODULE__}/Role/auth.html?rec=edit&id={$i.role_id}">权限</a> | <a href="{$smarty.const.__CONTROLLER__}/del/id/{$i.role_id}">删除</a></td>
     </tr>
     {/foreach}
         </table>
         <div class="items" style="margin-top:20px;">
		<form action="{$smarty.const.__SELF__}" method="post"
			enctype="multipart/form-data">
			<div id="main">
				<table width="40%" border="0" cellpadding="8" cellspacing="0"
					class="tableBasic">
					<tr>
						<td>添加角色：<input type="text" name="role_name"
							value="" placeholder="请输入角色" class="inpMain" /></td>
							<td>
							<input class="btn" type="submit" value="提交" />
						</td>
					</tr>
					</table>
				</div>
	</div>
 </div>
 </div>
 <div class="clear"></div>
<div id="dcFooter">
 <div id="footer">
  <div class="line"></div>
  <ul>
 《C语言程序设计》在线考试系统，版权所有
  </ul>
 </div>
</div><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>